package org.huzhp.gateway.dynamic;

import com.alibaba.csp.sentinel.adapter.gateway.common.rule.GatewayFlowRule;
import org.huzhp.gateway.dynamic.route.GatewayRouteDefinition;

/**
 * @Description:
 * @Author: huzp
 * @CreateDate: 2020/3/13 21:51
 * @Version: 1.0
 */
public class RouteRuleDef {

    private GatewayRouteDefinition route;

    private GatewayFlowRule rule;

    public GatewayRouteDefinition getRoute() {
        return route;
    }

    public void setRoute(GatewayRouteDefinition route) {
        this.route = route;
    }

    public GatewayFlowRule getRule() {
        return rule;
    }

    public void setRule(GatewayFlowRule rule) {
        this.rule = rule;
    }
}
